<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

<!--
    Document   : showstudents.jsp
    Created on : 16-Mar-2009, 16:52:15
    Author     : Wenbo.Sun
-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>show all students</title>
    </head>
    <body>
        <h1>Show all students</h1>
        <table>
            <thead>
                <tr>
                    <td>Student Number</td>
                    <td>Student Name</td>
                </tr>
            </thead>
            <tbody>
            <s:iterator value="students">
                <tr>
                    <td><s:property value="studentNumber"/></td>
                    <td><s:property value="studentName"/></td>
                </tr>
            </s:iterator>
        </table>
        </tbody>
        <a href="addstudents.jsp">Add new student</a>

    </body>
</html>
